package com.xq.security.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class MvcController {

    @GetMapping("/index.html")
    public String home(){
        System.out.println("去首页");
        return "index";
    }

    @GetMapping("/login.html")
    public String login() {
        return "login";
    }


}
